hvm/svm: Enable MSR events
authorAlexandru Isaila <aisaila@bitdefender.com>
Thu, 15 Feb 2018 10:22:25 +0000 (12:22 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Feb 2018 14:01:24 +0000 (14:01 +0000)
commit6e9fc4d628b613291e3bb5e2458b49ebc7cbd3af
treebb25f05941a41fd2412f250fcc3df9170f2b4d33
parent093eff713cc5a907f3e62f853051ac86b598cbf9
hvm/svm: Enable MSR events

At this moment there is no function to enable msr interception on svm.

This patch implements this function and moves the mov to msr monitor
event
form the Intel arch side to the common capabilities.

Signed-off-by: Alexandru Isaila <aisaila@bitdefender.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/monitor.h